export function calcHours(endTime, startTime) {
  const endDate = new Date(endTime)
  const startDate = new Date(startTime)

  const diff = Math.abs(endDate.getTime() - startDate.getTime())

  return Math.floor(diff / (1000 * 60 * 60))
}

